// 弹窗实现

(function($) {

    let screenWidth = document.body.clientWidth

    console.log(screenWidth)

    let getWinLeftPx = screenWidth / 2 - 300

    layer.open({

        title: "更多福利尽在乐享游l3y.cn",

        type: 2,

        content: 'https://www.l3y.cn/get_win.html',

        offset: ['0',  getWinLeftPx + 'px'],

        area: ['600px', '144px'],

        scrollbar: false,

    });

    $("#layui-layer-iframe1").attr("height", "141px").removeAttr("style");

})(jQuery);

